package com.ksc.service.impl;

import com.ksc.entity.Sender;
import com.ksc.service.EmailService;
import com.ksc.util.SendEmailUtil;

public class EmailServiceImpl implements EmailService {

    @Override
    public boolean sendEmail(Sender sender, String to, String title, String content) {
        if (SendEmailUtil.sendEmail(sender, to, title, content)) {
            return true;
        }
        return false;
    }
}
